package com.sounou.lombok.complex;

import lombok.Builder;
import lombok.Data;

/**
 * <p> 组合使用 </p>
 *
 * @author zengneng@hsyuntai.com
 * @date 2019/3/18 20:16
 * @copyright 版权归 HSYUNTAI 所有
 */
@Data
@Builder
public class Complex1 {
    private String name;
    private int age;

    public static void main(String[] args) {
        System.out.println(Complex1
                .builder()
                .age(12)
                .name("sounou")
                .build());
    }
}